<template>
	<view class="pa-16">
		<view v-for="(item,index) in list" :key="index" style="color: #1e1e1e;">
			<view class="flex flex-ai-center flex-js-sb font-w-600">
				<view class="font-w-600 font-size-14" >#{{item.collection_code}}/{{item.total_num}}</view>
				<view>￥{{item.price}}</view>
			</view>
			<view class="mt-6 font-size-12">{{item.time && handleLang(item.time)}}</view>
			<u-line v-if="index + 1 != list.length" margin="20rpx 0"></u-line>
		</view>
		<w-loading style="padding: 32rpx 0" :type="loadingType" emptyType="noCollection"></w-loading>
	</view>
</template>

<script>
	export default {
		name:'sellRecord',
		props: {
			product: {
				type: Object,
				default: () => ({})
			},
			list: {
				type: Array,
				default: () => []
			},
			loadingType: {
				type: String,
				default: 'more'
			}
		}
	}
</script>

<style>
</style>